

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class EducationLevels
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _EducationLevelEN ="";
public System.String EducationLevelEN
{
get { return _EducationLevelEN;}
set { _EducationLevelEN = value;}
}
System.String _EducationLevelAR ="";
public System.String EducationLevelAR
{
get { return _EducationLevelAR;}
set { _EducationLevelAR = value;}
}
System.String _Code ="";
public System.String Code
{
get { return _Code;}
set { _Code = value;}
}
public EducationLevels()
{
}
public EducationLevels(System.String __EducationLevelEN,System.String __EducationLevelAR,System.String __Code)
{
_EducationLevelEN = __EducationLevelEN;
_EducationLevelAR = __EducationLevelAR;
_Code = __Code;
}
public EducationLevels(System.Int64 __ID,System.String __EducationLevelEN,System.String __EducationLevelAR,System.String __Code)
{
_ID = __ID;
_EducationLevelEN = __EducationLevelEN;
_EducationLevelAR = __EducationLevelAR;
_Code = __Code;
}


             public override bool Equals(object obj)
         {
             if (obj is EducationLevels)
             {
                 EducationLevels newObj = (EducationLevels)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
